package cn.loan.config.mysql;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 23:56 2019/4/28
 */
public class MySql {

//DataBase Test Account    db:loan_test    user:test       password:loan_test
//Production DataBase Account   db:loan         user:loan       password:loan20190318

    public static final String MYSQL_URL = "jdbc:mysql://bj-cdb-es5kbf7q.sql.tencentcdb.com:62175/loan?useUnicode=true&characterEncoding=utf8";
    public static final String MYSQL_USER_NAME = "root";
    public static final String MYSQL_USER_PASSWORD = "loan@@@***";
    public static final String MYSQL_FILTERS = "stat,log4j,wall";
    public static final int MYSQL_MAX_ACTIVE = 500;
    public static final int MYSQL_INITIAL_SIZE = 2;
    public static final long MYSQL_MAX_WAIT = 60000;
    public static final int MYSQL_MIN_IDLE = 35;
    public static final long MYSQL_TIME_BETWEEN_EVICTION_RUNS_MILLIS = 3000;
    public static final long MYSQL_MIN_EVICTABLE_IDLE_TIME_MILLIS = 300000;
    public static final String MYSQL_VALIDATION_QUERY = "SELECT *";
    public static final boolean MYSQL_TEST_WHILE_IDLE = true;
    public static final boolean MYSQL_TEST_ON_BORROW = false;
    public static final boolean MYSQL_TEST_ON_RETURN = false;
    public static final boolean MYSQL_POOL_PREPARED_STATEMENTS = true;
    public static final int MYSQL_MAX_POOL_PREPARED_STATEMENT_PER_CONNECTION_SIZE = 20;

}
